package com.haveajob.bill.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;

//账单实体类
public class Bill {

    private Integer id;

    private String transactionnumber;

    private String ordernumber;

    private Integer billtype;

    private String balanceorpayments;

    private BigDecimal amount;

    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date transactiontime;

    private Integer transactionid;

    private Integer transactionrole;

    private String readmessage;

    private String payMoneyType;


    public String getPayMoneyType() {
        return payMoneyType;
    }

    public void setPayMoneyType(String payMoneyType) {
        this.payMoneyType = payMoneyType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTransactionnumber() {
        return transactionnumber;
    }

    public void setTransactionnumber(String transactionnumber) {
        this.transactionnumber = transactionnumber == null ? null : transactionnumber.trim();
    }

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber == null ? null : ordernumber.trim();
    }

    public Integer getBilltype() {
        return billtype;
    }

    public void setBilltype(Integer billtype) {
        this.billtype = billtype;
    }

    public String getBalanceorpayments() {
        return balanceorpayments;
    }

    public void setBalanceorpayments(String balanceorpayments) {
        this.balanceorpayments = balanceorpayments == null ? null : balanceorpayments.trim();
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getTransactiontime() {
        return transactiontime;
    }

    public void setTransactiontime(Date transactiontime) {
        this.transactiontime = transactiontime;
    }

    public Integer getTransactionid() {
        return transactionid;
    }

    public void setTransactionid(Integer transactionid) {
        this.transactionid = transactionid;
    }

    public Integer getTransactionrole() {
        return transactionrole;
    }

    public void setTransactionrole(Integer transactionrole) {
        this.transactionrole = transactionrole;
    }

    public String getReadmessage() {
        return readmessage;
    }

    public void setReadmessage(String readmessage) {
        this.readmessage = readmessage == null ? null : readmessage.trim();
    }
}